package com.arges.web.domain.pojo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * follow-up note 随访记录
 * 
 * @author zxj
 *
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "p_picture")
public class Picture implements java.io.Serializable
{

	@Id
	@SequenceGenerator(name = "p_picture", sequenceName = "SEQ_P_PICTURE")
	@GeneratedValue(generator = "p_picture", strategy = GenerationType.AUTO)
	private Long id;

	// 病历号
	@Column(name = "MRN")
	private String mrn;

	// 图片路径
	@Column(name = "PICTURE")
	private String picture;

	// 描述
	@Column(name = "MEMO")
	private String memo;

	// 图像日期
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "DATE")
	private Date date;

	public Long getId()
	{
		return id;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public String getMrn()
	{
		return mrn;
	}

	public void setMrn(String mrn)
	{
		this.mrn = mrn;
	}

	public String getPicture()
	{
		return picture;
	}

	public void setPicture(String picture)
	{
		this.picture = picture;
	}

	public String getMemo()
	{
		return memo;
	}

	public void setMemo(String memo)
	{
		this.memo = memo;
	}

	public Date getDate()
	{
		return date;
	}

	public void setDate(Date date)
	{
		this.date = date;
	}

}
